package com.example.yaja.yaja.dao;


import com.example.yaja.yaja.entity.Shopping;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ShoppingMapper {
    int deleteByPrimaryKey(Integer shoppingId);

    int insert(Shopping record);

    int insertSelective(Shopping record);

    Shopping selectByPrimaryKey(Integer shoppingId);

    int updateByPrimaryKeySelective(Shopping record);

    int updateByPrimaryKey(Shopping record);

    List<Shopping> selectShoppingByNumber(Map<String, Object> params);
}